package com.mikgonz.farkle.database;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "friends")
public class Friend {
	
	@DatabaseField(useGetSet = true , canBeNull = false, id = true)
	private String name;
	
	@DatabaseField(useGetSet = true , canBeNull = false)
	private Long serverId;

	public Friend(){}

	public Friend(String name, Long serverId) {
		super();
		this.name = name;
		this.serverId = serverId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getServerId() {
		return serverId;
	}

	public void setServerId(Long serverId) {
		this.serverId = serverId;
	}

		
	
	
	
}
